home *** CD-ROM | disk | FTP | other *** search
/ Tech Arsenal 1 / Tech Arsenal (Arsenal Computer).ISO / tek-20 / bb21tu.zip / SERVER.DOC < prev    next >
Text File  |  1991-10-13  |  2KB  |  60 lines

  1. There are three commands for SERVERS
  2.  
  3.  *   ES options server file parms -- Execute a server.  Example:
  4.                           ES REQDIR D:\PATH\T17.EXE
  5.                           ES [IZ] REQFIL DOS BATNAM
  6.                     Use the second example for DOS commands and BAT files.
  7.  
  8.  *   EL -- Same as ES but will automatically do a GL after the server runs.
  9.                           EL DUMMY BBLOOK.EXE
  10.  
  11.  *   EX options file parms -- Execute another program.  Example:
  12.                           EX D:\PATH\T17.EXE
  13.                           EX DOS BATNAM
  14.                           EX [L] BBLOOK.EXE
  15.                     Use the second example for DOS commands and BAT files.
  16.  
  17. All of these commands execute DOS programs.  In all cases, you must
  18. specify a "file".  This is the exact name (including extension) of the
  19. program you want to run.  Example XXX.COM, D:\YYY.EXE.  You must have
  20. the path if the program is not in the current directory.
  21.  
  22. Alternatively, you can specify the magic word called "DOS".  BB will
  23. then execute the program called COMMAND.COM and pass the parms to it.
  24. In this manner you can execute DOS commands, batch files, etc.
  25.  
  26. The options specify what should be done before and after the actual DOS
  27. program run.  The options are specified in brackets.  Possible
  28. values are:
  29.  
  30.     E -- Run EXPORT before the program
  31.     K -- Kill messages that are exported (only useful if E is specified)
  32.     I -- Run IMPORT after the program
  33.     Z -- Erase file that is imported (only useful if I is specified)
  34.     L -- Run GL after the program
  35.  
  36.     ES assumes the options are [EKIZ]
  37.     EL assumes the options are [L]
  38.  
  39.     If you specifiy options on either EL or ES, those options replace
  40.     the defaults.
  41.  
  42. The difference between EX and ES is that ES includes a server name.
  43. (Note:  EL also requires a server name).  Using the default options:
  44.  
  45.     ES REQDIR D:\PATH\T17.EXE
  46.  
  47.     is the same as
  48.  
  49.     EXPORTK REQDIR.IN E REQDIR
  50.     EX D:\PATH\T17.EXE
  51.     IMPORTE REQDIR.OUT
  52.  
  53.     E REQDIR means export messages to REQDIR and the @ field is blank or
  54.     this BBS.
  55.  
  56. When writing a server, try to keep to using IMPORT and EXPORT for
  57. getting messages in and out of the BBS.  This will allow you to contiue
  58. to run even after I change the file formats.
  59.  
  60.